<div id='gotPasswd' class="reg-login ">
<?php $form=$this->beginWidget('CActiveForm', array(
  'id'=>'gotPasswd-form',
  'enableAjaxValidation'=>true,
  'focus'=>'input:text[value=""]:first',
  'htmlOptions'=>array('class'=>'reg-login')
)); ?>
 

  <div class="row">
    <?php echo $form->labelEx($model,'password'); ?>
    <?php echo $form->passwordField($model,'password'); ?>
    <?php echo $form->error($model,'password'); ?>
  </div>
  
  <div class="row">
    <?php echo $form->labelEx($model,'password1'); ?>
    <?php echo $form->passwordField($model,'password1'); ?>
    <?php echo $form->error($model,'password1'); ?>
  </div>
  <div class="row buttons">
    <?php echo CHtml::submitButton('确定',array('class'=>'button')); ?>
  </div>
<?php $this->endWidget(); ?>
</div><!-- form -->
